package com.ist412.pocke;

import java.util.ArrayList;
import java.io.Serializable;

public class Exercise implements Serializable{
	
	private static final long serialVersionUID = 0L;
	private String 			_name, _note, _muscleGroup;
	private boolean 		_exhaust;
	private ArrayList<Set> 	_sets;
	
	public Exercise() {
		_name			= "exercise";
		_muscleGroup 	= "body";
		_note			= "";
		_sets			= new ArrayList<Set>();
		_exhaust 		= false;
	}
	
	public Exercise(String name, String muscleGroup, ArrayList<Set> sets) {
		_name			= name;
		_muscleGroup 	= muscleGroup;
		_note 			= "";
		_sets 			= sets;
		_exhaust 		= false;
	}
	
	// Get
	public final boolean getExhaust() {
		return _exhaust;
	}
	
	public final String getMuscleGroup() {
		return _muscleGroup;
	}
	
	public final String getName() {
		return _name;
	}
	
	public final String getNote() {
		return _note;
	}
	
	public final ArrayList<Set> getSets() {
		return _sets;
	}
	
	// Set
	public final void setExhaust(boolean exhaust) {
		_exhaust = exhaust;
	}
	
	public final void setMuscleGroup(String muscleGroup) {
		_muscleGroup = muscleGroup;
	}
	
	public final void setName(String name) {
		_name = name;
	}
	
	public final void setNote(String note) {
		_note = note;
	}
	
	public final void setSets(ArrayList<Set> sets) {
		_sets = sets;
	}

} // end class Exercise